cmake_minimum_required(VERSION 3.0)
project(rklog)

include(GNUInstallDirs)

include_directories(./include)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_FLAGS}")
set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   ${COMMON_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

include(./common.mk)


#findPackage(mutils REQUIRED
#	HINTS ${mutilsPrefix}
#	HEADERS rlog.h caps.h clargs.h
#	INC_PATH_SUFFIX include/log include/caps include/misc
#	SHARED_LIBS rlog caps
#)
#
#findPackage(flora REQUIRED
#	HINTS ${floraPrefix}
#	HEADERS flora-cli.h
#	SHARED_LIBS flora-cli
#)

set(mutils_LIBRARIES rlog)#misc caps)
set(flora_LIBRARIES )#flora-cli)

add_subdirectory(src)
#add_subdirectory(sample)

